package com.lxy.demo.service;

import com.lxy.demo.dao.UsersDao;
import com.lxy.demo.entity.Users;

public class UsersServiceImpl implements UsersService{
    private UsersDao usersDao;
    @Override
    public boolean addUser(Users users) {
        return usersDao.insertUser(users) > 0;
    }

    public UsersDao getUsersDao() {
        return usersDao;
    }

    public void setUsersDao(UsersDao usersDao) {
        this.usersDao = usersDao;
    }
}
